.login-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100vh;
    background-image: url('../../static/img/bg.png');
    background-size: cover;
    background-position: center;
    padding-right: 80px;
    position: relative;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.4); */
}

.login-box {
    width: 320px;
    padding: 35px 30px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    /* z-index: 1; */
    opacity: 0.8;
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.login-header h2 {
    margin: 0 0 8px 0;
    color: #262626;
    font-size: 22px;
    font-weight: 600;
}

.login-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* 覆盖Ant Design默认样式 */
.login-input {
    border-radius: 6px;
    height: 40px;
    border: 1px solid #d9d9d9;
    transition: all 0.3s;
}

.login-input:hover {
    border-color: #40a9ff;
}

.login-input:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.login-button {
    height: 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    /* background: linear-gradient(135deg, #1890ff, #096dd9);
    border: none; */
}

.login-button:hover {
    background: linear-gradient(135deg, #40a9ff, #1890ff);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    color: #1890ff;
    font-size: 14px;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.login-footer a {
    color: #1890ff;
    margin-left: 5px;
}

.error-message {
    color: #ff4d4f;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-container {
        justify-content: center;
        padding-right: 0;
        padding: 0 20px;
    }
    
    .login-box {
        width: 100%;
        max-width: 320px;
    }
}